package ch.usi.inf.pf2.alu.nodes;

/**
 * 
 * @author Yotam Sharon
 * 
 */

public class SubtractionNode extends ArithmeticOperationNode {

	public SubtractionNode(final Node left, final Node right) {
		super(left, right);
	}

	protected double compute(double left, double right) {
		return left - right;
	}
}
